 <head>
        <link rel="Stylesheet" type="text/css" href="style.css" />
        <link rel="stylesheet" href="thickbox.css" type="text/css" media="screen" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="jquery.js"></script>
        <script type="text/javascript" src="thickbox.js"></script>

        <title></title>
    </head>

<?php
error_reporting(E_ALL ^ E_WARNING ^E_NOTICE); 
include 'functions.php';
connect();
select_db('kapek');
session_start();

$pytaj='SELECT*FROM users WHERE login="'.$_GET['login'].'"';
        $result=mysql_query($pytaj) or die (" nie ma tabeli: ".mysql_error());
        $num_rows=mysql_num_rows($result);

            $row=mysql_fetch_row($result);
            echo'Login: '.$row[1].'<br>';
            echo'Imię: '.$row[3].'<br>';
            echo'Nazwisko: '.$row[4].'<br>';
            echo'Adres: '.$row[5].'<br>';
?>
